package cn.zn.base.bean.entity;

import java.io.Serializable;

public class BaseEntity<T extends BaseNoIdEntity<?>> extends BaseNoIdEntity<T> {

    /**
     * ID
     */
    protected String id;

    @Override
    public Serializable pkVal() {
        return this.id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

}
